package org.jeemp.db.service;

import org.jeemp.db.entity.Teacher;
import org.jeemp.db.mapper.ds2.TeacherMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author JackRen
 * @date 2021/3/3
 *
 **/
@Service
public class TeacherService {
    @Autowired
    TeacherMapper teacherMapper;

    public List<Teacher> getAllTeachers() {
        return teacherMapper.selectAllTeachers();
    }
}
